<!--
 * @Author: 贺楠 1071780426@qq.com
 * @Date: 2024-09-06 12:55:25
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-09-11 10:06:14
 * @FilePath: \monitoring_system\src\components\testMachineManage\versionManage\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <!-- 小弹框 width:500,height:0.3,top:15%  -->
  <!-- 中弹框 width:800,height:0.5,top:10% -->
  <!-- 大弹框 width:1060,height:0.76,top:5% -->
  <div class="Control-1 mechanism_dialogS closure" id="comcn small">
    <el-dialog
      v-loading="loading"
      element-loading-text="拼命加载中"
      element-loading-background="rgba(0, 0, 0, 0.2)"
      element-loading-spinner="el-icon-loading"
      width="500px"
      :title="title"
      v-dialogDrag
      :visible.sync="visible"
      @close="closeDialog"
      :append-to-body="true"
      top="15%"
    >
      <div
        class="dialogBody common commonClassDialog"
        :style="{ height: dialogHeight }"
        style="width: 100%"
      >
        <div style="height: 70%">
         
          <publicForm
            ref="publicForm"
            lableWidth="100px"
            :formObj="formObj"
            :formData="formData"
            @selectChange="selectChange"
            :selected="selected"
            :timestamp="formData.companyLogo"
            :fileList="fileList"
            @delteFile="delteFile($event, 0)"
            fileType="0"
          >
          </publicForm>
        </div>

        <div style="padding-left: 100px; font-size: 12px">
          <!-- <userImage @upFileList="upFileList" :fileArray="fileList" v-if="statusNum!=7" :timestamp="formData.picture"></userImage>
        <img v-viewer v-if="fileList.length>0&&statusNum==7" :src="fileList[0].url" alt=""> -->
          说明：建议尺寸500x200，白色
        </div>
      </div>
      <div class="newlyAdded_btn" v-if="btnShow">
        <el-button :disabled="isLock" type="primary" @click="yj_saveForm(1)"
          >保存</el-button
        >
        <el-button type="warning" @click="visible = false">关闭</el-button>
      </div>
    </el-dialog>
  </div>
</template>
<script src="./index.js"></script>
<style lang="less" scoped>
@import "./index.less";
</style>
